package org.jb.coinche.server.user.room.impl;

import org.jb.coinche.server.user.room.RoomUsers;
import org.jb.coinche.server.user.room.RoomUsersNotifier;

import com.google.inject.Module;
import com.google.inject.servlet.ServletModule;

public class RoomUsersModule extends ServletModule implements Module {

	@Override
	protected void configureServlets() {
		
		filter( "*/rpc" ).through(RoomUsersFilter.class);
		
		bind(RoomUsers.class).to(RoomUsersImpl.class);
		bind(RoomUsersNotifier.class).to(RoomUsersImpl.class);
	}

}
